Format the given java.util.Date object as a string
Format the given YYYYMMDD integer date as a string